<div class="f-left left-section">
    <div class="title-list top-list">
        <h3 class="h3-title"><a href="{{url('/sysadmin/group/index')}}"><i class="icon iconfont icon-icon-test"></i>部门管理</a></h3>
    </div>
    <div class="section-list">
        @foreach($tongxunlu as $t)
            <div class="title-list" id="{{$t['id']}}" onclick="window.location.href='/sysadmin/permission/index?active={{$t['id']}}'">
                <h3 class="h3-title">
                    @if($t['group_name'] != '我的同事')
                        <img class="list-user" src="/img/list-user1.png" style="vertical-align: middle; width: 18px;  height: 18px;">
                    @endif
                    {{$t['group_name']}}
                </h3>
                <span class="num-span">{{$t['count']}}</span>
            </div>
            @if(isset($t['child']))
                @foreach($t['child'] as $c)
                    <div class="second-list">
                        <div class="title-list" id="{{$c['id']}}" onclick="window.location.href='/sysadmin/permission/index?active={{$c['id']}}'">
                            <h3 class="h3-title"><img class="list-user" src="/img/list-user1.png" style="vertical-align: middle; width: 18px;  height: 18px;"> {{$c['group_name']}}</h3>
                            <span class="num-span">{{$c['count']}}</span>
                        </div>
                        @foreach($c['child'] as $cc)
                            <div class="third-list">
                                <div class="title-list" id="{{$cc['id']}}" onclick="window.location.href='/sysadmin/permission/index?active={{$cc['id']}}'">
                                    <h3 class="h3-title"><img class="list-user" src="/img/list-user1.png" style="vertical-align: middle; width: 18px;  height: 18px;"> {{$cc['group_name']}}</h3>
                                    <span class="num-span">{{$cc['count']}}</span>
                                </div>
                            </div>
                        @endforeach
                    </div>
                @endforeach
            @endif

        @endforeach
        {{--<div class="title-list active">
            <h3 class="h3-title">
                <i class="icon iconfont icon-bumen"></i>
                我的同事
            </h3>
            <span class="num-span">5</span>
        </div>
        <div class="second-list">
            <div class="title-list">
                <h3 class="h3-title"><i class="icon iconfont icon-bumen"></i>分组</h3>
                <span class="num-span">9</span>
            </div>
            <div class="third-list">
                <div class="title-list">
                    <h3 class="h3-title"><i class="icon iconfont icon-bumen"></i>分组</h3>
                    <span class="num-span">4</span>
                </div>
            </div>
        </div>--}}
    </div>
</div>